//
//  RoadDetailTodayTableViewCell.m
//  NineGroupProject
//
//  Created by dllo on 15/12/24.
//  Copyright © 2015年 lushan. All rights reserved.
//

#import "RoadDetailTodayTableViewCell.h"

@implementation RoadDetailTodayTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createSubViews];
    }
    return self;
}

- (void)createSubViews
{
    self.todayLabel = [[UILabel alloc] initWithFrame:CGRectMake(10 * WID, 10 * WID, WIDTH, 15 * HEI)];
    self.todayLabel.text = @"今日备注";
    [self.contentView addSubview:self.todayLabel];
    
    self.bigLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.todayLabel.frame.origin.x, self.todayLabel.frame.origin.y +self.todayLabel.frame.size.height + 20 * HEI, WIDTH, 1000)];
    [self.contentView addSubview:self.bigLabel];
    
}

-(void)setMemo:(NSString *)memo{

    _memo = memo;

    self.bigLabel.text = self.memo;
    self.bigLabel.numberOfLines = 0;
    [self.bigLabel sizeToFit];
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
